<?php

// HTML
$tmp['html'] = <<<TMP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{pageTitle}</title>
<meta http-equiv="Content-Language" content="{lang}" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="{styles}{style}.css" />
<!--STYLE-->
{includStyle}
<!--/STYLE-->

<!--SCRIPT-->
{includScript}
<!--/SCRIPT-->
</head>
<body>
<div id="modal"></div>
<div id="wrapper">
TMP;

// END OF FILE
$tmp['/html'] = <<<TMP
<div class="clearer"></div>
</div>
</body>
</html>
TMP;


// COPYRIGHT
$tmp['copyright'] = <<<TMP
<div class="left">
<a href="|root|project/copyright.php">|project| &copy; |copyright|</a>
</div>
TMP;


// BOX
$tmp['box'] = <<<TMP
<div id="box" class="{tmpClass}">
	<strong>|{tmpClass}|</strong>
	{content}
</div>
TMP;
	
// LOGO
$tmp['logo'] = <<<TMP
<a href="{root}index.php"><img src="{styles}{style}/logo.gif" class="left"></img></a>
TMP;


// NAVIGATION
$tmp['navigation'] = <<<TMP
<ul class="{tmpClass}">
	<!--loop-->
	<li><a href="{link}" class="{class}">{menu}</a></li>
	<!--/loop-->
</ul>
TMP;


// WIDGETS
$tmp['widget'] = <<<TMP
<div id="widget" class="{tmpClass}">
	<strong>|{tmpClass}|</strong>
	<ul>
		<!--loop-->
		<li><a href="{link}" title="{title}"><span>{lead}</span>{title}</a></li>
		<!--/loop-->
	</ul>
</div>
TMP;



// ACCORDIONS
$tmp['accordions'] = <<<TMP
<div>
	<strong>|{tmpClass}|</strong>
	<ul>
		<!--loop-->
		<li><a href="{link}" title="{title}"><span>{lead}</span>{title}</a></li>
		<!--/loop-->
	</ul>
</div>
TMP;


// TOP STORY
$tmp['topstory'] = <<<TMP
<div id="topstory">
	<h2>{book_author}</h2>
	<strong>{book_volume}</strong>
	<big>{book_title}</big>
	<p>{book_description} <a href="{book_link}">|continue| &raquo;</a></p>
</div>
TMP;


// LOGINBOX
$tmp['logbox'] = <<<TMP
<div id="box">
	<strong>myDielli</strong>
	<form name="logform" style="padding:10px 0;" method="post" action="members/login.php">
		<input type="text" name="email" onfocus="this.className='onFocus';" onblur="this.className='onBlur';" value="|email|" onclick="document.logform.email.value='';"></input>
		<input type="text" name="password" onfocus="this.className='onFocus';" onblur="this.className='onBlur';" value="|password|" onclick="document.logform.password.value='';"></input>
		<div style="margin-top:5px;"><a href="javascript:document.logform.submit();" class="button"><b>|btnLogin|</b></a><a href="members/register.php" class="button" style="margin-left:10px;"><b>|btnRegister|</b></a></div>
	</form>
</div>
TMP;


// IMAGEBOX
$tmp['imagebox'] = <<<TMP
<div id="imagebox" class="{tmpClass}">
<a href="{link}"><img src="{src}" width="{width}" height="{height}"></img></a>
</div>
TMP;


// SLIDER
$tmp['bookslider'] = <<<TMP
<div id="box">
	<strong>|lastpub| <ol id="controls"></ol></strong>
	<div id="slider">
		<ul>
			<!--loop-->
			<li>
				<h4>{book_author} <span style="float:right;font:normal 10px Arial;">{book_post_date}</span></h4>
				<b style="margin-top:5px;">{book_volume}</b>
				<h2 style="margin-top:5px;">{book_title}</h2>
				<p style="margin-top:10px;">{book_description}.. <a href="{book_link}"> |read| &gt;&gt;</a></p>
			</li>
			<!--/loop-->
		</ul>
	</div>
</div>
TMP;


// LASTBLOGS
$tmp['blogbox'] = <<<TMP
<div class="block">|comunity|</div>
<ul class="list">
	<!--loop-->
	<li>
		<a href="{blog_link}">
			<i>{blog_author}</i>
			<b>{blog_title}</b>
			<span>|pubdate|: {blog_post_date}</span>
		</a>
	</li>
	<!--/loop-->
</ul>
TMP;


// MEDIABOX
$tmp['mediabox'] = <<<TMP
<div id="media">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" id="dielli" width="{width}" height="{height}">
	<param name="movie" value="{src}">
	<param name="bgcolor" value="#FFFFFF">
	<param name="quality" value="high">
	<param name="seamlesstabbing" value="false">
	<param name="allowscriptaccess" value="samedomain">
	<embed
		type="application/x-shockwave-flash"
		pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
		name="dielli"
		width="{width}" height="{height}"
		src="{src}"
		bgcolor="#FFFFFF"
		quality="high"
		seamlesstabbing="false"
		allowscriptaccess="samedomain"
		style="margin-top:20px;">
	</embed>
</object>
</div>
TMP;


// POLBOX
$tmp['pollbox'] = <<<TMP
<div id="box">
	<strong>|poll|</strong>
	<p>Çfar mendoni per prezentacionin e ri te diellit dhe organizmin e ri te materialit publikues?</p>
	<p style="padding:0 10px;">
		<input type="radio" name="answer1" value="1" /> Elegant dhe praktik<br />
		<input type="radio" name="answer1" value="2" /> I bukur por jo praktike<br />
		<input type="radio" name="answer1" value="3" /> I mjaftueshem<br />
	</p>
</div>
TMP;


// LISTING
$tmp['listing'] = <<<TMP
<div class="block">|{tmpClass}|</div>
<ul class="list">
	<!--loop-->
	<li>
		<a href="book.php?id={book_id}">
			<span style="float:left; width:80%;">
				<i style="color:#777;">{book_section}</i>
				<b style="font-size:12px; color:#000; font-weight:700;">{book_volume}</b>
				<b>{book_title}</b>
				<i style="color:#444;">{book_author}</i>
			</span>
			<span style="float:right; width:20%;">
				<p><label>|visited|:</label> {book_counter}</p>
				<p><label>|commented|:</label> {book_comments}</p>
				<p><label>|preferred|:</label> {book_bookmarks}</p>
			</span>
			<br class="clearer" />
		</a>
	</li>
	<!--/loop-->
</ul>
TMP;

// LIST BOOKS
$tmp['books'] = <<<TMP
<ul class="list">
	<!--loop-->
	<li>
		<a href="book.php?id={book_id}">
			<span style="float:left; width:14%;">
				{book_stars}
			</span>
			<span style="float:left; width:70%;">
				<i>{book_author}</i>
				<strong>{book_volume}</strong>
				<b>{book_title}</b>
			</span>
			<span style="float:left; padding-top:5px;">
				<label>|visited|:</label> {book_counter}<br />
				<label>|commented|:</label> {book_comments}<br />
				<label>|preferred|:</label> {book_bookmarks}
			</span>
			<br class="clearer" />
		</a>
	</li>
	<!--/loop-->
</ul>
TMP;

// DESIRE
$tmp['desire'] = <<<TMP
<form name="desire" method="post">
	<div id="box">
		<strong>|desire|</strong>
		<p>Deshironi qe ta lexoni nodonje liber qe akoma nuk eshte ne librarine tone? Na informoni si cila eshte ajo veper?</p>
		<input type="text" name="author" onfocus="this.className='onFocus';" onblur="this.className='onBlur';" value="Emri i autorit" onclick="document.desire.author.value='';"></input>
		<input type="text" name="title" onfocus="this.className='onFocus';" onblur="this.className='onBlur';" value="Titulli i librit" onclick="document.desire.title.value='';"></input>
		<input type="text" name="link" onfocus="this.className='onFocus';" onblur="this.className='onBlur';" value="Linku (www)" onclick="document.desire.link.value='';"></input>
		<div style="margin-top:5px;" align="center"><a href="javascript:document.logform.submit();" class="button"><b>|btnSend|</b></a></div>
	</div>
</form>
TMP;


// SEARCH LIBRARY
$tmp['searchbooks'] = <<<TMP
<form name="search" method="post" action="index.php" class="search">
	<div id="box">
		<strong>|libsearch|</strong>
		<p>
			<label for="q">|searchstring|</label>
			<input type="text" name="q" size="30" value="{q}" onfocus="this.className='onFocus';" onblur="this.className='onBlur';" ></input>
		</p>
		<p>
			<label for="sections">|section| (|optional|):</label>
			<select name="sections"><option>|choice|</option>%sections%</select>
		</p>
		<p>
			<label for="">|author| (|optional|):</label>
			<select name="authors"><option>|choice|</option>%authors%</select>
		</p>
		<p>
			<label for="method">|method| (|optional|):</label>
			<select name="smethod">%smethod%</select><input style="margin-left:40px;" type="checkbox" name="whole"> |wholeword| (|optional|)</input>
		</p>
		<p>
			<label>&nbsp;</label>
			<a href="javascript:document.search.submit();" class="button"><b>|search|</b></a>
		</p>
	</div>
</form>
TMP;


// BOTTOM
$tmp['bottom'] = <<<TMP
<div id="bottom">
	<div class="left">{left}</div>
	<div class="right">{right}</div>
	<div class="clearer"></div>
</div>
TMP;





// BOOKPARTS
$tmp['bookparts'] = <<<TMP
<div id="bookparts">
	<a href="#" class="dbutton"><span>|bookparts|</span></a>
	<div id="popup">
		<strong>{book_volume}</strong>
		<!--loop!-->
		<span>|part| {book_part}:</span><a href="book.php?id={book_id}" class="{book_class}">{book_title}</a>
		<br class="clearer">
		<!--/loop-->
	</div>
</div>
TMP;


// PATH
$tmp['path'] = <<<TMP
<div id="path">
	<a href="index.php">|library|</a> &gt; <a href="sections.php?id={book_section_id}">{book_section}</a> &gt; <a href="book.php?id={book_id}">{book_title}</a> &gt; |{filename}|
</div>
TMP;


// BOOKPARTS
$tmp['bookparts'] = <<<TMP
<div id="bookparts">
	<a href="#" class="dbutton"><span>|bookparts|</span></a>
	<div id="popup">
		<strong>{book_volume}</strong>
		<!--loop-->
		<span>|part| {book_part}:</span><a href="book.php?id={book_id}" class="{book_class}">{book_title}</a>
		<br class="clearer">
		<!--/loop-->
	</div>
</div>
TMP;


// BOOKTITLE
$tmp['booktitle'] = <<<TMP
<div id="booktitle">
	<big><b>{book_volume}</b>{book_title}</big>
</div>
<div id="bookmenu" style="margin-bottom:80px;">
	<div style="float:left;">{book_author}</div>
	<!--BOOKMENU-->
	<ul>
		<!--loop-->
		<li><a href="{link}" class="{class}">{menu}</a></li>
		<!--/loop-->
	</ul>
	<div class="clearer"></div>
	<!--/BOOKMENU-->
</div>
TMP;


// BOOKCONTENT
$tmp['bookcontent'] = <<<TMP
<div id="book">
<h3>{caption}</h3>
<h1 style="margin:10px 0 40px;">{chapter}</h1>
{content}
</div>
TMP;


// BOOKTITLE
$tmp['chapters'] = <<<TMP
<div id="bookmenu">
	{back}{index}{forward}{activity}
	<div class="clearer"></div>
</div>
TMP;


// TITLE
$tmp['title'] = <<<TMP
<div class="class">{title}</div>
TMP;


// MODAL
$tmp['modal'] = <<<TMP
<div id="modal-content"></div>
TMP;


// MODAL
$tmp['recaptcha'] = <<<TMP
<div id="recaptcha_widget" style="display:none">

   <div id="recaptcha_image"></div>
   <div class="recaptcha_only_if_incorrect_sol" style="color:red">Incorrect please try again</div>
   <div><a href="javascript:Recaptcha.reload()">Get another CAPTCHA</a></div>

   <span class="recaptcha_only_if_image">Enter the words above:</span>

   <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />

   

 </div>

 <script type="text/javascript"
    src="http://www.google.com/recaptcha/api/challenge?k=6Lfbu8ESAAAAAOxcHXrFJ2ZCn3_ijSDkHU3T0fri">
 </script>
 <noscript>
   <iframe src="http://www.google.com/recaptcha/api/noscript?k=6Lfbu8ESAAAAAOxcHXrFJ2ZCn3_ijSDkHU3T0fri"
        height="300" width="500" frameborder="0"></iframe><br>
   <textarea name="recaptcha_challenge_field" rows="3" cols="40">
   </textarea>
   <input type="hidden" name="recaptcha_response_field"
        value="manual_challenge">
 </noscript>
TMP;




// COMMENTFORM
$tmp['commentform'] = <<<TMP
<div class="commentform">
<form name="comment" method="post">
	<h2 class="banner">|addcomment|</h2>
	<div class="left" style="width:40%">
		<p><label>|name|</label><input type="text" name="comment_name" value="{comment_name}" onfocus="this.className='onFocus';" onblur="this.className='onBlur';" {disabled}></input></p>
		<p><label>|email|</label><input type="text" name="comment_email" value="{comment_email}" onfocus="this.className='onFocus';" onblur="this.className='onBlur';" {disabled}></input></p>
		<p><label>Captcha:</label><img src="{root}framework/builder/php_captcha.php" width="152px" height="60px"></p>
		<p><label>|captcha|:</label><input name="number" type="text" id=\&quot;number\&quot; onfocus="this.className='onFocus';" onblur="this.className='onBlur';"></p>
	</div>
	<div class="right" style="width:58%">
		<textarea name="comment_content" cols="50" rows="9" onfocus="this.className='onFocus';" onblur="this.className='onBlur';">{comment_content}</textarea></p>
		<div style="margin-top:10px;"><a href="javascript:document.comment.submit();" class="button"><b>|comment|</b></a></div>
	</div>
	<div class="clearer"></div>
</form>
</div>
TMP;


// COMMENTS
$tmp['comments'] = <<<TMP
<!--loop-->
<div id="comments">
	<div class="left">
		<b>{user_name}</b>
	<span>{comment_post_date}</span>
	</div>
	<div class="right">
		{comment_content}
	</div>
	<div class="clearer"></div>
</div>
<!--/loop-->
TMP;

?>